package com.zp.kidshop.common.pojo;

import java.io.Serializable;
/**
 * 
 * @Title: ResObj.java
 * @Package com.minghang.common.pojo 
 * @Description: 基本数据返回实体类--[用不着的，可以不使用]
 * @author 张鹏  
 * @date 2017年2月16日 下午2:56:14 
 * @version V1.0
 */
public class ResObj implements Serializable{
	private static final long serialVersionUID = -2056159097004086585L;
	private String dbCode;
	private String code;
	private String msg;
	private Object data;

	public String getDbCode() {
		return dbCode;
	}
	public ResObj setDbCode(String dbCode) {
		this.dbCode = dbCode;
		return this;
	}
	public String getCode() {
		return code;
	}
	public String getMsg() {
		return msg;
	}
	public Object getData() {
		return data;
	}
	public ResObj setCode(String code) {
		this.code = code;
		return this;
	}
	public ResObj setMsg(String msg) {
		this.msg = msg;
		return this;
	}
	public ResObj setData(Object data) {
		this.data = data;
		return this;
	}
	
	@Override
	public String toString() {
		return "ResObj [code=" + code + ", msg=" + msg + ", data=" + data +"]";
	}
	public ResObj(String code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}
	public ResObj(String code, String msg, Object data) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
	public ResObj(String code, String msg, Object data ,Object datatwo) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
	
	public ResObj() {}
	
}
